<?php 
include_once '../AtacCommunicator/ACBusWaitingTimes.php';
include_once '../Exceptions/CommunicationException.php';
include_once '../InfoManager/InfoManager.php';
include_once '../Model/BusStop.php';
include_once '../Model/Location.php';
include_once '../Model/Address.php';
include_once '../Model/GPS.php';
include_once '../Model/BusLinePath.php';


	if (isset($_GET["pathID"]))
	{
		try {
			$pathID = RMobUtils::escape_var($_GET["pathID"]);
			
			$im = new InfoManager();
			$blp = $im->getCachedPath($pathID);
			
			
			echo $blp->toXML(EXTENDED_MODE);
			
			
			}
		catch (Exception $e) {
			echo $e->toXML(EXTENDED_MODE);
		}
	}



?>
